import {
	requsetGet
} from '../utils/request.js';

// 额度评估
export function submitAssess(params) {
	return requsetGet('CyrappController/edsq', params);
}

// export function submitAssess(params) {
// 	return requsetGet('CyrappController/edpg', params);
// }

// 爱车评估
export function submitLoveCarAssess(params) {
	return requsetGet('CyrappController/acpg', params);
}
// 上传身份证照片
export function submitIdCardImage(params) {
	return requsetGet('CyrappController/submitIdcard', params);
}

export function getDicts(dictType) {
	return requsetGet( 'system/dict/data/type/' + dictType)
}

// 修改头像
export function updateAvatar(params) {
	return requsetGet('CyrappController/editCyrappUserInfoAvatar', params);
}
// 修改用户名称
export function updateNickName(params) {
	return requsetGet('CyrappController/editCyrappUserInfoNickName', params);
}